-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] feat(vertexai): Add support for setting the API version - wait for the release date #17000
Conversation
packages/firebase_vertexai/firebase_vertexai/lib/src/model.dart
Outdated
Show resolved
Hide resolved
packages/firebase_vertexai/firebase_vertexai/lib/src/model.dart
Outdated
Show resolved
Hide resolved
packages/firebase_vertexai/firebase_vertexai/lib/src/model.dart
Outdated
Show resolved
Hide resolved
packages/firebase_vertexai/firebase_vertexai/lib/src/firebase_vertexai.dart
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking a look, @cynthiajoan!
packages/firebase_vertexai/firebase_vertexai/lib/src/model.dart
Outdated
Show resolved
Hide resolved
packages/firebase_vertexai/firebase_vertexai/lib/src/firebase_vertexai.dart
Show resolved
Hide resolved
final String versionIdentifier; | ||
|
||
@override | ||
String toString() => name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be versionIdentifier
for better clarity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this will conflict with Imagen PR: #16976 (review)
Might be easier to base off that branch, other than that, LGTM.
Closing this PR for now since it no longer needs to go out at the same time as (or before) Imagen. We're also considering not exposing it in the public API anymore. Will bring it back and rebase when the time comes. |
Description
WIP - See go/firebase-vertex-set-api-version (Google-internal only) for more details.
Added the ability to specify an API version (e.g., v1 or v1beta) when initializing a
GenerativeModel
using a newRequestOptions
class to match the other SDKs. This is the Flutter/Dart equivalent of firebase/firebase-ios-sdk#14356.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
TODOs